package com.ruoyi.workFlow.mapper;

import com.ruoyi.workFlow.domain.ActWorkflowFormData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @ClassName ActWorkflowFormDataMapper
 * @Description TODO
 * @Author leizhang
 * Date 2021/11/4 3:50 下午
 * @Version 1.0
 **/
@Mapper
public interface ActWorkflowFormDataMapper {
    /**
     * 审核记录查询
     *
     * @param businessKey
     * @return
     */
    public List<ActWorkflowFormData> selectActWorkflowFormDataByBusinessKey(String businessKey);

    /**
     * @param createBy
     * @param ActWorkflowFormData
     * @param date
     * @param createName
     * @return int
     * @Description :  新增审核记录
     * @Author : leizhang
     * @Date 2:26 下午 2021/11/5
     **/
    public int insertActWorkflowFormDatas(@Param("createBy") String createBy, @Param("ActWorkflowFormData") List<ActWorkflowFormData> ActWorkflowFormData, Date date, String createName);

    /**
     * @Description : 个人操作历史记录查询
     * @Author : leizhang
     * @Date 3:33 下午 2021/11/8
     * @param requestParam
     * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     **/
    public List<ActWorkflowFormData> getHistoryInfo( ActWorkflowFormData requestParam);

    //。。。
    public List<Map<String,Object>> getRoleUserName(Map<String,Object> requestParam);
}
